package com.swb.mybatis04emp.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;


/**
 * @title: Emp
 * @author: 流沐颖
 * @date:2022/5/30 12:22
 * @description:
 * @version: study
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Emp {

    private int eno;
    private String ename;
    private String esex;
    private Double salary;
    private String pwd;
    private Date bornDate;
    private int dno;

    public Emp(String ename, String esex, Double salary, String pwd, Date bornDate, int dno) {
        this.ename = ename;
        this.esex = esex;
        this.salary = salary;
        this.pwd = pwd;
        this.bornDate = bornDate;
        this.dno = dno;
    }

}

